#ifndef __MUSIC_SERVER_H_
#define __MUSIC_SERVER_H_

#include<iostream>
#include<string>
#include"stdTcpService.h"
#include<memory>

class  musicServer
{
public:

    musicServer(void *arg);

    ~musicServer();
public:
    /*注册*/
    void handleRegister(const std::string&info);
    /*登录*/
    void handleLoginInfo(const std::string&info);

private:
    /*判断用户名是否存在*/
    bool userExist(const std::string&username);


private:

    std::shared_ptr<StdTcpSocket> m_clientInfo;
    





};















#endif